package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.TowerCraneDao;
import com.site.wisdom_construction.entity.iotModule.TowerCrane;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/1
 * @Description
 */
@Service
public class TowerCraneService implements TowerCraneDao {
    @Autowired
    private TowerCraneDao towerCraneDao;

    @Override
    public int insertTowerCrane(Map map) {
        return towerCraneDao.insertTowerCrane(map);
    }

    @Override
    public int deleteTowerCrane(Map map) {
        return towerCraneDao.deleteTowerCrane(map);
    }

    @Override
    public List<TowerCrane> findTowerCraneByPage(Map map) {
        return towerCraneDao.findTowerCraneByPage(map);
    }

    @Override
    public long Total(Map map) {
        return towerCraneDao.Total(map);
    }
}
